-
Home
-
Leyka
-
3.30
-
Code
-
Classes
- ProductCode
| Total Complexity |
46 |
| Dependencies |
0 |
| Dependents |
1 |
| Total lines |
324 |
| Lines of code |
143 |
| Logical lines of code |
82 |
| Comment lines |
112 |
| Methods |
20 |
| Properties |
5 |
Methods 20
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| base_convert() |
S |
51 |
6 |
26 |
| preparePrefix() |
S |
62 |
4 |
13 |
| calcResult() |
S |
62 |
4 |
12 |
| setPrefix() |
S |
62 |
4 |
11 |
| __construct() |
S |
67 |
3 |
8 |
| setGtin() |
S |
67 |
3 |
8 |
| setSerial() |
S |
67 |
3 |
8 |
| parseCodeMatrixData() |
S |
66 |
3 |
7 |
| getResult() |
S |
72 |
2 |
6 |
| validate() |
S |
79 |
2 |
3 |
| strToHex() |
S |
64 |
2 |
9 |
| hexToStr() |
S |
67 |
2 |
7 |
| getPrefix() |
S |
82 |
1 |
3 |
| getGtin() |
S |
82 |
1 |
3 |
| getSerial() |
S |
82 |
1 |
3 |
| isUsePrefix() |
S |
82 |
1 |
3 |
| setUsePrefix() |
S |
76 |
1 |
4 |
| chunkStr() |
S |
78 |
1 |
3 |
| numToHex() |
S |
78 |
1 |
3 |
| __toString() |
S |
81 |
1 |
3 |